﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NoodlesFriedFood
{
    public class HTTPMsg
    {
        public string code { get; set; }
        public string msg { get; set; }
        public object data { get; set; }
    }
    public class deviceOrderQueueList
    {
        public string id { get; set; }
        public string num { get; set; }
        public string realPrice { get; set; }
        public string status { get; set; }
        public string orderNum { get; set; }
        public string created_at { get; set; }
        public string createdAt { get; set; }
        public string statusName { get; set; }
        public List<DeviceOrderQueue> typeList4 { get; set; }
        public object typeList3 { get; set; }
        public List<DeviceOrderQueue> typeList2 { get; set; }
        public object typeList1 { get; set; }
    }
    public class DeviceOrderQueue
    {
        public string id { get; set; } = "";
        public string type { get; set; } = "";
        public string orderId { get; set; } = "";
        /// <summary>
        /// 名称
        /// </summary>
        public string goodsName { get; set; } = "";
        public string goodsImg { get; set; } = "";
        public string goodsOptionName { get; set; } = "";
        /// <summary>
        /// -2后台删除 -1已删除 0已取消 1待付款 2已付款 3扫码排队(待制作) 4制作中 5已完成 -3已退款
        /// </summary>
        public string status { get; set; } = "";
        public string price { get; set; } = "";
        public string rePrice { get; set; } = "";
        public string num { get; set; } = "";
        public string totalPrice { get; set; } = "";
        /// <summary>
        /// 小吃机出餐内容
        /// </summary>
        public string jsonCodeVal { get; set; } = "";
        public string path { get; set; } = "";
        /// <summary>
        /// 图片
        /// </summary>
        public string goodsPath { get; set; } = "";
        public string statusName { get; set; } = "";
    }

    public class StockMsg
    {
        public string id { get; set; }
        public string classCode { get; set; }
        public string matterCodes { get; set; }
        public string deviceGoodsId { get; set; }
        public string title { get; set; }
        public string type { get; set; }
        public string stock { get; set; }
    }
    /// <summary>
    /// 存储物料信息和设备信息
    /// </summary>
    public class saveDeviceMatter
    {
        public string matterStatusJson { get; set; }
        public string deviceStatusJson { get; set; }
        public int deviceId { get; set; } = 1;
    }
    public class EditDeviceOrderStatus
    {
        /// <summary>
        /// 
        /// </summary>
        public string orderId { get; set; }
        public string orderGoodsId { get; set; }
        /// <summary>
        /// 4，制作中 5，已完成
        /// </summary>
        public string status { get; set; }
    }
    public class Device
    {
        public string deviceId { get; set; } = "1";
    }

    public class StatusList
    {
        public int id { get; set; }
        public EditDeviceOrderStatus status { get; set; }
    }
}
